package com.zwu.Mapper;

import com.alibaba.druid.sql.ast.statement.SQLIfStatement;
import com.github.pagehelper.PageInfo;
import com.zwu.pojo.ElseProvince;
import com.zwu.pojo.Student;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
 * @Author: Zyl
 * @Param:
 * @return:
 * @Description:
 */
@Mapper
@Repository
public interface StudentMapper {
    public Student findStatus(String identify);

    public List<Student> findAll();


    int add(Student stu);

    public List<Student> findStudent(String identify,String time);

    public void deleteStudent(Integer id);

    public  Student findStudentById(Integer id);

    public void updateStudent(Student student);

    public Integer findSameStudent(String identify);

    public int addStudent(Student student);

    public Integer allStudent();

    public Integer findZheJiang();

    public Integer noZheJiang();

    public List<ElseProvince> elseProvince();
}
